package com.cloudkinto.vo.cost;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class CostItemEt {
    @ApiModelProperty("计费项目 ")
    private String itemName;
    @ApiModelProperty("单据类型 退件单 OperateBill_Type")
    private Integer billType;

    @ApiModelProperty("出库入库-计费明细/ 工单-计费变量")
    private String callDetail;
    private double totalFee;
    private String tips;

    /**
     * 仓储 计算单位 0立方米/天  1立方英尺/天
     */
    private Integer calculateUnit;

    /**
     * 计算方式 0 按体积
     */
    private Integer calculateWay;
    @ApiModelProperty("总体积")
    private Double totalVolume;
    @ApiModelProperty("计费体积/工单-计费数量")
    private Double calVolume;

    public CostItemEt(String itemName, Integer billType, String callDetail, double totalFee) {
        this.itemName = itemName;
        this.billType = billType;
        this.callDetail = callDetail;
        this.totalFee = totalFee;
    }

    public CostItemEt(String itemName, double totalFee, Integer calculateUnit, Integer calculateWay, Double totalVolume, Double calVolume) {
        this.itemName = itemName;
        this.totalFee = totalFee;
        this.calculateUnit = calculateUnit;
        this.calculateWay = calculateWay;
        this.totalVolume = totalVolume;
        this.calVolume = calVolume;
    }

    public CostItemEt(String itemName, String callDetail, double totalFee, String tips, Double calVolume) {
        this.itemName = itemName;
        this.callDetail = callDetail;
        this.totalFee = totalFee;
        this.tips = tips;
        this.calVolume = calVolume;
    }
}
